//
//  ThumbnailViewController.h
//  XiangMuB
//
//  Created by lanou3g on 16/8/17.
//  Copyright © 2016年 lanou3g. All rights reserved.
//

#import <UIKit/UIKit.h>

#import <Photos/Photos.h>
#import "PhotoModel.h"
#import "PhotoBrowserTableViewController.h"

@interface ThumbnailViewController : UIViewController

@property (strong, nonatomic) UICollectionView *collectionView;
@property (strong, nonatomic) PHAssetCollection *assetCollection;
@property (strong, nonatomic) NSMutableArray <PhotoModel *> *arraySelectPhotos;

@property (assign, nonatomic) NSInteger maxSelectCount;
@property (assign, nonatomic) BOOL isSelectOriginalPhoto;

@property (strong, nonatomic) UIButton *btnPreView;
@property (strong, nonatomic) UIButton *btnOriginalPhoto;
@property (strong, nonatomic) UILabel *labPhotosBytes;
@property (strong, nonatomic) UIButton *btnDone;

@property (strong, nonatomic) PhotoBrowserTableViewController *browserController;
@property (copy, nonatomic) void (^DoneBlock)(NSArray<PhotoModel *> *selPhotoModels, BOOL isSelectOriginalPhoto);

@property (copy, nonatomic) void (^CancelBlock)();

@end
